//
//  AppDelegate.m
//  WYNews2
//
//  Created by 周宏全 on 2017/3/18.
//  Copyright © 2017年 周宏全. All rights reserved.
//

#import "AppDelegate.h"
#import "ZHQMainController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    // 初始化window
    _window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
    // 初始化根控制器
    ZHQMainController *vc = [[ZHQMainController alloc] init];
    _window.rootViewController = vc;
    
    // 让window成为主窗口并可视
    [_window makeKeyAndVisible];
    
    
    return YES;
}



@end
